home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / comm / 110a115a.zip / SCRIPTS.ZIP / PASSWORD.SLT < prev    next >
Text File  |  1995-12-21  |  943b  |  22 lines

  1. /****************************************************************/
  2. /*                                                              */
  3. /*  Demo of how to access and use the password stored in the    */
  4. /*  PhoneBook when connected to a BBS.                          */
  5. /*                                                              */
  6. /*                   Copyright 1995 deltaComm Development, Inc. */
  7. /*                                                              */
  8. /****************************************************************/
  9.  
  10. main()
  11.  {
  12.   if (_entry_pass)         // make sure password has been defined for this
  13.                            // entry and that an entry has been connected to.
  14.    {
  15.     cPutS(_entry_pass);    // send the password
  16.     cNewLine;              // and a carriage return
  17.    }
  18.   else                     // else show error box for 4 seconds
  19.  
  20.     status_wind("No password available!",40);
  21. }
  22.